<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
    <style>
      * {
        padding: 0;
        margin: 0;
        box-sizing: border-box;
      }

      body {
        width: 100vw;
        height: 100vh;
        display: flex;
        flex-direction: column;
      }

      body::after {
        content: 'houdunren.com';
        left: 50%;
        top: 50%;
        position: absolute;
        transform: translate(-50%, -50%);
        font-size: 3em;
        opacity: 0.5;
      }

      main {
        flex: 1;
        position: relative;
      }

      main div {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        transition: 1s;
        z-index: 1;
      }

      main div:target {
        transform: translateY(0px);
      }

      main > div:nth-of-type(1):target {
        background: #3498db;
      }

      main > div:nth-of-type(2):target {
        background: #9b59b6;
      }

      main > div:nth-of-type(3):target {
        background: #16a085;
      }

      nav {
        height: 10vh;
        background: #34495e;
        display: flex;
      }

      nav a {
        flex: 1;
        text-decoration: none;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 2em;
        color: white;
      }

      nav a:nth-child(n + 2) {
        border-left: solid 1px #ddd;
      }
    </style>
  </head>
  <body>
    <main>
      <div id="home">
        <i class="fa fa-home" aria-hidden="true"></i>
      </div>
      <div id="video">
        <i class="fa fa-vimeo" aria-hidden="true"></i>
      </div>
      <div id="live">
        <i class="fa fa-viadeo" aria-hidden="true"></i>
      </div>
    </main>
    <nav><a href="#home">home</a><a href="#video">video</a><a href="#live">live</a></nav>
  </body>
</html>
